package com.zxcl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxcl.domain.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @desc 暂无描述
* @author zxcl
 */

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 根据用户ID查询用户的菜单
     *
     * @param userId
     * @return
     */
    List<SysMenu> selectMenusByUserId(@Param("userId") Long userId);
}
